package com.wanlian.netty.msg;


import com.wanlian.json.JsonStringUtil;

public class HoleMsg extends BaseMsg {

	private HoleBody holeBody;

	public HoleMsg(HoleBody holeBody) {
		super();
		this.setHoleBody(holeBody);
		setType(MsgType.HOLE_REQ);
		this.setContent(JsonStringUtil.writeValueAsString(holeBody));
	}

	public HoleBody getHoleBody() {
		return holeBody;
	}

	public void setHoleBody(HoleBody holeBody) {
		this.holeBody = holeBody;
	}

}
